package com.zhentao.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zhentao.model.dto.product.CategoryBrandDto;
import com.zhentao.model.entity.product.Brand;
import com.zhentao.pojo.CategoryBrand;

import java.util.List;

/**
* @author 20183
* @description 针对表【category_brand(分类品牌)】的数据库操作Mapper
* @createDate 2024-08-19 15:43:18
* @Entity com.zhentao.pojo.CategoryBrand
*/
public interface CategoryBrandMapper extends BaseMapper<CategoryBrand> {

    public abstract List<CategoryBrand> findByPage(CategoryBrandDto CategoryBrandDto);

    void deleteId(Long id);

    void updateId(CategoryBrand categoryBrand);

    List<Brand> findBrandByCategoryId(Long categoryId);
}




